package chapter4.namedJDBC;

import java.util.List;
import java.util.Map;

import chapter4.namedJDBC.User;
import chapter4.namedJDBC.UserService;

public class UserAction {
	private UserService userService;

	public UserService getUserService() {
		return userService;
	}

	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	public void add(Map paramMap) {
		userService.add(paramMap);
	}
	public void addUser(User user) {
		userService.addUser(user);
	}
	public List<Map<String, Object>> findAllMap(Map paramMap) {
		return userService.findAllMap(paramMap);
	}
}
